package cn.bluemobi.app.mapper;

import java.util.List;

import cn.bluemobi.app.entity.form.AddressForm;
import cn.bluemobi.app.entity.output.Address;

public interface AddressMapper {
	List<Address> findAddressByMemberId(String id);

	void insertAddress(AddressForm addressForm);

	void updateAddress(AddressForm addressForm);

	void updateAddressNotDefault(String memberId, String id);

	void deleteAddress(String addressId);

	Address findDefaultAddress(String memberId);

	Address findAddressDetail(String addressId);

	int updateDefaultAddress(String isDefault, String addressId);
}
